package com.stefanie.study.bp;

/**
 * @author: stefanie-zy
 * @time: 2024/7/1-16:54
 * @description:
 */
public class ConcreateBuilder extends Builder {
    @Override
    public void buildPartA(Product product) {
        product.setPartA("A");
    }

    @Override
    public void buildPartB(Product product) {
        product.setPartB("B");
    }

    @Override
    public void buildPartC(Product product) {
        product.setPartC("C");
    }

    @Override
    public void buildPartD(Product product) {
        product.setPartD("D");
    }
}
